﻿using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace Hotel.Model
{
    [Table("Admin")]
    public class Admin
    {
        /// <summary>
        /// 管理员的id
        /// </summary>
        [Key]
        public int Id { get; set; }
        /// <summary>
        /// 管理员的账号
        /// </summary>
        public string UserName { get; set; }
        /// <summary>
        /// 管理员发密码
        /// </summary>
        public string UserPwd { get; set; }

    }
}